<?php

$lines = file("tmp/notes.txt");

$content = "";

foreach ($lines as $lineNumber => $lineContent) {
    
    $content .= 
    "<div class='widget grid3'>".
    "<div class='whead'>
        <h6>Nom</h6>
        <div class='clear'></div>
    </div>
    <div class='body'>
        <ul class='liArrow'>
            <li>Ligne  : ".$lineNumber."</li>
            <li>Note     : ".$lineContent."</li>
        </ul> 
    </div>
</div>";

}

echo $content;
?>
